package router

import (
	"blog-back-end/controller"
	"github.com/gin-gonic/gin"
)

func User(r *gin.Engine) {

	//登录
	r.GET("/login", controller.Login)
	//注册
	r.POST("/register", controller.Register)

}
